package com.azdebugit.spring.auto.enable.test1;

import com.azdebugit.spring.auto.enable.test1.format.FormatProcessor;

public class FormatTemplate {
    private FormatProcessor formatProcessor;

    public FormatTemplate(FormatProcessor formatProcessor) {
        this.formatProcessor = formatProcessor;
    }
    public <T>String doFormat(T data) {
        return formatProcessor.format(data);
    }
}